﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        table {
            cursor:pointer;
        }

    </style>
    <script type="text/javascript">
        onload = function () {
            var tbl = document.getElementById("tbl");
            var rows = tbl.getElementsByTagName("tr");
            for (var i = 0; i < rows.length; i++) {
                rows[i].onmouseover = function () {
                    this.style.backgroundColor = "yellow";
                };
                rows[i].onmouseout = function () {
                    this.style.backgroundColor = "";
                };
            }
        };

    </script>
</head>
<body>
    <input type="button" name="name" value="点击变色" />
    <table border="1" id="tbl">
        <tr>
            <td>1111</td><td>1111</td><td>1111</td><td>1111</td>
        </tr>
        <tr>
            <td>1111</td><td>1111</td><td>1111</td><td>1111</td>
        </tr>
        <tr>
            <td>1111</td><td>1111</td><td>1111</td><td>1111</td>
        </tr>
        <tr>
            <td>1111</td><td>1111</td><td>1111</td><td>1111</td>
        </tr>
        <tr>
            <td>1111</td><td>1111</td><td>1111</td><td>1111</td>
        </tr>
    </table>


    <hr />
    <a href="Sources/00_00.jpg">美女</a> 


    <hr />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" /><br />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" /><br />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" /><br />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" />
    <input type="button" name="name" value="呜呜" /><br />
</body>
</html>
